import { Component, OnInit } from '@angular/core';
import {Router} from "@angular/router";
import {ClassifyPageService} from "@core/service/page/ClassifyPageService";
import {DiskPageStatus} from "@core/service/page/DiskPageStatus";
import {NzModalService} from "ng-zorro-antd/modal";
import {OfflineDialog} from "@/app/pages/disk/offline-dialog";

@Component({
  selector: 'bby-classification',
  templateUrl: './classification.component.html',
  styleUrls: ['./classification.component.scss']
})
export class ClassificationComponent implements OnInit {
  pageStatus: DiskPageStatus;
  constructor(
    private router:Router,
    protected dialogService: NzModalService,
    public pageService:ClassifyPageService
  ) {
    this.pageStatus=pageService.pageStatus

  }
  ngOnInit(): void {

  }

  openFileClick() {

  }

  categoryChange() {
    this.router.navigate(['/classify'],
      {queryParams:{id:this.pageService.category}}
    )
  }
}
